/**
 * Created by Yamazhiki on 11/01/2017.
 * Buffer协议 帮助类
 */

/*转换成Buffer*/
interface IBufferable {
    toBuffer(): Buffer
}
/*Buffer转换成对象*/
interface IBufferCreatable {
    create(buffer: Buffer): any
}
